//
//  CityActivitySendViewController.m
//  cityStar
//
//  Created by wangjia on 15/4/15.
//  Copyright (c) 2015年 tiny. All rights reserved.
//

#import "CityActivitySendViewController.h"

@interface CityActivitySendViewController ()

@end

@implementation CityActivitySendViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self.txvContent becomeFirstResponder];
    
    self.tableView.sectionHeaderHeight = 0;
    self.tableView.sectionFooterHeight = 0;
    
    self.navigationItem.title = @"发评论";
    
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc]initWithTitle:@"取消" style:UIBarButtonItemStylePlain target:self action:@selector(cancelAction)];
    
    self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc]initWithTitle:@"发送" style:UIBarButtonItemStylePlain target:self action:@selector(sendAction)];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section{
    return 10;
}

- (void)cancelAction{
    [self.navigationController popViewControllerAnimated:YES];
}

- (void)sendAction{
    [self.navigationController popViewControllerAnimated:YES];
}



@end
